<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Retrieve the name of a directory entry</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.zip-entry-filesize.html">zip_entry_filesize</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.zip-entry-open.html">zip_entry_open</a></div>
 <div class="up"><a href="ref.zip.html">Zip 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.zip-entry-name" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">zip_entry_name</h1>                 
  <p class="verinfo">(PHP 4 &gt;= 4.1.0, PHP 5 &gt;= 5.2.0, PECL zip &gt;= 1.0.0)</p><p class="refpurpose"><span class="refname">zip_entry_name</span> &mdash; <span class="dc-title">Retrieve the name of a directory entry</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.zip-entry-name-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">string</span> <span class="methodname"><strong>zip_entry_name</strong></span>
    ( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$zip_entry</code></span>
   )</div>

  <p class="para rdfs-comment">
   Returns the name of the specified directory entry.
  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-function.zip-entry-name-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>

    
     <dt>
<em><code class="parameter">zip_entry</code></em></dt>

     <dd>

      <p class="para">
       A directory entry returned by <span class="function"><a href="function.zip-read.html" class="function">zip_read()</a></span>.
      </p>
     </dd>

    
   </dl>

  </p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-function.zip-entry-name-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   The name of the directory entry.
  </p>
 </div>

 <div class="refsect1 seealso" id="refsect1-function.zip-entry-name-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="function"><a href="function.zip-open.html" class="function" rel="rdfs-seeAlso">zip_open()</a> - Open a ZIP file archive</span></li>
    <li class="member"><span class="function"><a href="function.zip-read.html" class="function" rel="rdfs-seeAlso">zip_read()</a> - Read next entry in a ZIP file archive</span></li>
   </ul>
  </p>
 </div>

</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.zip-entry-filesize.html">zip_entry_filesize</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.zip-entry-open.html">zip_entry_open</a></div>
 <div class="up"><a href="ref.zip.html">Zip 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
